import datetime
a='1/2/2012'
tmp = a
print tmp
pos = tmp.find('/')

if pos<0:
    pos = tmp.find('-')
if pos>0:
    day = int(tmp[:pos])
    tmp = tmp[pos+1:]
    month = False
    pos = tmp.find('/')
    if pos<0:
        pos = tmp.find('-')
    if pos>=0:
        month = tmp[:pos]
        tmp = tmp[pos+1:]
    elif tmp.isdigit():
        month=tmp
        tmp = ''
    if tmp.isdigit() and tmp<>'':
        year = tmp
    else:
        now = datetime.datetime.now()
        year = now.year
        if month==12 :
            if (day>=11 and day<=25):
                new_due_date = str(25) + "/"  + str(month-11)+ "/"  + str(year+1)
                print new_due_date 
            else:
                 new_due_date = str(10) + "/"  + str(month-11)+ "/"  + str(year+1)
                 print new_due_date
        else:
            if (day>=11 and day<=25):
                 new_due_date = str(25) + "/"  + str(month)+ "/"  + str(year)
                 print new_due_date
            else:
                new_due_date = str(10) + "/"  + str(month)+ "/"  + str(year)
                print new_due_date
        